PROJECT(kusabaagent)
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR}
					${CMAKE_SOURCE_DIR}/chanagents)

SET(kusabaagent_sources
	kusabaagent.cpp)

SET(kusabaagent_headers
	kusabaagent.h
	kusabatasksendpost.h)

QT4_WRAP_CPP(kusabaagent_moc ${kusabaagent_headers})

ADD_LIBRARY(kusabaagent MODULE ${kusabaagent_sources} ${kusabaagent_moc})
TARGET_LINK_LIBRARIES(kusabaagent ${QT_LIBRARIES} ${spelling_libs} wm)
SET_TARGET_PROPERTIES(kusabaagent PROPERTIES LIBRARY_OUTPUT_DIRECTORY ..)

INSTALL(TARGETS kusabaagent LIBRARY DESTINATION ${LIBDIR}/plugins/chanagents)

